QtObject {
    id: foo

    states: [
        State {}
    ]
    transitions: [
        Transition {}
    ]

    // This needs to be *before* states and transitions after formatting
    Item {}
}
